class hint{
	desc(title,duration = 2000,icon = "none"){
		uni.showToast({
			title,duration,icon
		})
	}
	showLoading(title = '加载中',mask = false){
		uni.showLoading({
			title,mask
		});
	}
	hideLoading(timer = 500){
		console.log(timer);
		setTimeout(function () {
			uni.hideLoading();
		}, timer);
	}
}

export default new hint()